package com.framework.modules.live.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.framework.common.utils.PageUtils;
import com.framework.common.utils.Query;

import com.framework.modules.live.dao.LivePornLogDao;
import com.framework.modules.live.entity.LivePornLogEntity;
import com.framework.modules.live.service.LivePornLogService;


@Service("livePornLogService")
public class LivePornLogServiceImpl extends ServiceImpl<LivePornLogDao, LivePornLogEntity> implements LivePornLogService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<LivePornLogEntity> page = this.selectPage(
                new Query<LivePornLogEntity>(params).getPage(),
                new EntityWrapper<LivePornLogEntity>()
        );

        return new PageUtils(page);
    }

}
